﻿using Mail.MiniProgram.Core.Results;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Mail.MiniProgram.Core.Interfaces
{
    public abstract class IOpenClient
    {
        protected abstract string AppID { get;}
        protected abstract string AppSecret { get; }
        protected abstract string LoginUrl { get; }
        protected abstract string AccessTokenUrl { get;}

        public abstract Task<AuthorizeResult> Authorize(string code);

    }
}
